import request from '@/utils/request'
export default {

    getSubjectTree() {
        return request({
            url: `/subject/tree`,
            method: "get",
        });
    },
  getParent() {
    return request({
      url: `/subject/getParent`,
      method: "get",
    });
  },
  getChild(id) {
    return request({
      url: `/subject/getChild/${id}`,
      method: "get",
    });
  },
}
